package cn.wolfcode.luowowo.repository;

import cn.wolfcode.luowowo.domain.Banner;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface BannerRepository extends MongoRepository<Banner, String> {
    List<Banner> findByTypeOrderByIdAsc(int i);
}
